#导包
import requests
#获取cookie值
res_v= requests.get(url="http://127.0.0.1/index.php?m=Home&c=User&a=verify&r=0.9534556083298872")
my_cookies = res_v.cookies
#登录请求
res_l= requests.post(url="http://127.0.0.1/index.php?m=Home&c=User&a=do_login&t=0.999687125390627",
                   # headers={"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},
                   data={"username":"13800000000","password":"123456","verify_code":"8888"},
                     cookies=my_cookies)
#以json格式返回数据
print(res_l.json())